package ysq.xyg.service;


import com.github.pagehelper.PageInfo;
import ysq.xyg.model.User;

import java.util.List;

/**
 * @author yu sheng qiang
 * @create 2017-03-22 15:36
 **/
public interface UserService extends  BaseService<User> {
    //分页查询
    public PageInfo<User> pageInfo(User user, int pageSize, int pageNum);

    public PageInfo<User> pageInfoLeft(User user, int pageSize, int pageNum);
    public List<User> listLeft(User user);
    public User selectById(String id);
    public int selectUserCount(User user);
    public User selectByName(String name);
}
